public class feeder{
	private String name;
    public feeder(){
	}
	public String getName(){
		return name;
	}
	public void setName(String name){
		this.name = name;
	}
	public void feedAnimal1(lion lion1){
	    System.out.println(lion1.eat());
	    System.out.println();
	}
	public void feedAnimal2(monley monkey[]){
		for(int i=0;i<monkey.length;i++)
		{
	        System.out.println(monkey[i].eat());
		}
		System.out.println();
	}
	public void feedAnimal3(pigeon pigeon[]){
		for(int i=0;i<pigeon.length;i++)
		{
	        System.out.println(pigeon[i].eat());
		}
		System.out.println();
	}
}
	
